ClearTreeView Method

A very fast method of removing all Node objects from the referenced Treeview control.

Syntax

object.ClearTreeView

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

This method sets Visible property of the referenced Treeview control to False, uses SendMessage API, then sets Visible property to True.